Element.implement( 
{ 
    removeStyle: function(ele) 
    { 
        regex  = new RegExp('[~;\\s]' + ele + '.*?[;~]', "i"); 
        style = this.get('style')+';'; 
        this.set('style', style.replace(regex, '')); 
    } 
}); 
